import request from '@/utils/request'
//在线批注管理（融入策略）接口
export function sysKnowledgeStrategyQuery(data) { //在线批注管理（融入策略）信息分页列表
    return request({
        method: 'get',
        url: '/sysKnowledgeStrategy/query',
        params: data
    })
}

export function sysKnowledgeStrategyQueryById(id) { //查询一条在线批注管理（融入策略）信息
    return request({
        method: 'get',
        url: '/sysKnowledgeStrategy/query/' + id,
    })
}

export function sysKnowledgeStrategyAdd(data) { //添加一条在线批注管理（融入策略）信息
    return request({
        method: 'post',
        url: '/sysKnowledgeStrategy/add',
        data
    })
}

export function sysKnowledgeStrategyDelete(id) { //删除一条在线批注管理（融入策略）信息
    return request({
        method: 'get',
        url: '/sysKnowledgeStrategy/delete/' + id,
    })
}

export function sysKnowledgeStrategyUpdate(data) { //修改一条在线批注管理（融入策略）信息
    return request({
        method: 'post',
        url: '/sysKnowledgeStrategy/update',
        data
    })
}

export function sysKnowledgeStrategyAdopt(data) { //采纳
    return request({
        method: 'post',
        url: '/sysKnowledgeStrategy/adopt',
        data
    })
}